package com.action.main;

import com.change.*;

public class MainAction {
	private int no;
	private int cno;

	private String content_jsp;
	private String customer_jsp;

	public String getContent_jsp() {
		return content_jsp;
	}

	public String getCustomer_jsp() {
		return customer_jsp;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public void setCno(int cno) {
		this.cno = cno;
	}

	public String execute() throws Exception {
		if (no < 1)
			no = 0;
		if (cno < 1)
			cno = 0;

		content_jsp = Change.mainChange(no);
		customer_jsp = Change.customerChange(cno);

		return "success";
	}

}
